package beans.factory.support;


import beans.BeansException;
import beans.factory.config.BeanDefinition;

import java.lang.reflect.Constructor;
/**
 * @Author: Take-off
 * @Description: //TODO  Bean 实例化策略接口
 * @Date: 4:10 PM 2023/2/19
 * @Param:
 * @return:
 **/
public interface InstantiationStrategy {

    Object instantiate(BeanDefinition beanDefinition, String beanName, Constructor ctor, Object[] args) throws BeansException;

}
